package com.diana.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author anzhi
 * @since 2019-04-21
 */
@TableName("manager_menu")
public class ManagerMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "menuId",type = IdType.ID_WORKER)
    private String menuId;
    /**
     * 菜单名称
     */
    private String menuName;
    /**
     * 父Id
     */
    private String parentId;
    /**
     * 等级（0：目录，1：菜单，2：按钮）
     */
    private Integer level;
    /**
     * 静态页面URL
     */
    private String url;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 后台接口路径
     */
    private String permissionUrl;
    /**
     * 备注
     */
    private String remark;
    private Date updateTime;
    private Date createTime;


    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPermissionUrl() {
        return permissionUrl;
    }

    public void setPermissionUrl(String permissionUrl) {
        this.permissionUrl = permissionUrl;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ManagerMenu{" +
        ", menuId=" + menuId +
        ", menuName=" + menuName +
        ", parentId=" + parentId +
        ", level=" + level +
        ", url=" + url +
        ", status=" + status +
        ", permissionUrl=" + permissionUrl +
        ", remark=" + remark +
        ", updateTime=" + updateTime +
        ", createTime=" + createTime +
        "}";
    }
}
